<?php
/**
 * error class
 *
 * @author raphael seebacher <raphasee@ee.ethz.ch>
 * @version 0.01
 */
class error extends tds_exception {
    protected $error;

    public function __construct($error_msg) {
        $this->error = Array(
          'status' => 'error',
          'msg' => $error_msg,
        );
    }

    public function getResponse() {
        return $this->error;
    }
}
?>